home *** CD-ROM | disk | FTP | other *** search
/ Ratselspass 18 / Ratselspass - Nr 18.iso / sokoban / sokoba1.bat < prev    next >
DOS Batch File  |  1995-06-18  |  962b  |  47 lines

  1. @Echo off
  2. REM --------------------------------------
  3. REM INSTALLATIONSROUTINE für SHAREBERT
  4. REM Copyright Jens Grabig, 1995
  5. REM ---------------------------------------
  6. if exist C:\sokoban\nul goto warnung
  7. md C:\sokoban
  8. md c:\sokoban\ebene
  9. xcopy \sokoban\*.* C:\sokoban>NUL
  10. xcopy \sokoban\ebene\*.* c:\sokoban\ebene>NUL
  11. C:
  12. cd\
  13. cd sokoban
  14. attrib -r *.* /S
  15. attrib -a *.* /S
  16. sokoban.exe
  17. Echo.|date>Datum.txt
  18. Find "Y" datum.txt>NUL
  19. IF errorlevel 1 goto deutsch
  20. If errorlevel 0 goto usa
  21. :usa
  22. cd ebene
  23. echo y|del *.* >NUL
  24. cd..
  25. rd ebene
  26. echo y|del *.* >NUL
  27. cd\
  28. rd sokoban
  29. goto end
  30. :deutsch
  31. cd ebene
  32. echo j|del *.* >NUL
  33. cd..
  34. rd ebene
  35. echo j|del *.* >NUL
  36. cd\
  37. rd sokoban
  38. goto end
  39. :warnung
  40. Echo Sie haben schon ein Verzeichnis mit dem Namen "Sokoban" auf
  41. Echo ihrer Festplatte C:\ gespeichert. Wenn Sie das gewählte Programm
  42. Echo starten wollen, müssen Sie zunächst dieses Verzeichnis umbenennen
  43. Echo oder löschen. 
  44. Pause
  45. :end
  46.  
  47.